<?php
/**
* @package YARBB
* @copyright Авторские права (C) 2009 www.yar-it.com. Все права защищены.
* @license Лицензия http://www.gnu.org/licenses/gpl-2.0.htm GNU/GPL, или help/license.php
* YARBB! - свободное программное обеспечение распространяемое по условиям лицензии GNU/GPL
* Для получения информации о используемых расширениях и замечаний об авторском праве, смотрите файл copyright.php.
*/

defined('_JEXEC') or die('Restricted access');
?>
<table width="100%" border="0">
	<tr>
		<td width="55%" valign="top">
			<div id="cpanel">
				<?php echo $this->addIcon('config.png','general', JText::_('YBB_MENU_GENERAL'));?>
				<?php echo $this->addIcon('category.png','categories', JText::_('YBB_MENU_CATEGORIES'));?>
				<?php echo $this->addIcon('forums.png','forums', JText::_('YBB_MENU_FORUMS'));?>
				<?php echo $this->addIcon('users.png','users', JText::_('YBB_MENU_PROFILES'));?>
				<?php echo $this->addIcon('ranks.png','ranks', JText::_('YBB_MENU_RANKS'));?>
				<?php echo $this->addIcon('editcss.png','editcss', JText::_('YBB_MENU_CSS'));?>
				<?php echo $this->addIcon('tools.png','tools', JText::_('YBB_MENU_TOOLS'));?>
				<?php echo $this->addIcon('about.png','about', JText::_('YBB_MENU_ABOUT'));?>
			</div>
		</td>
		<td width="45%" valign="top">
			<?php
				echo $this->pane->startPane( 'stat-pane' );
				echo $this->pane->startPanel( JText::_('YBB_WELCOME_TO_CCBOARD'), 'welcome' );
			?>
			<table class="adminlist">
				<tr>
					<td>
						<p class="ybbaboutdesc">
							<strong><?php echo JText::_('YBB_WELCOME_NOTE');?></strong>
						</p>
						<p class="ybbaboutdesc">
							
						</p>
					</td>
				</tr>
			</table>
			<?php
				echo $this->pane->endPanel();
				echo $this->pane->startPanel( JText::_('YBB_BOARD_STATISTICS') , 'board' );
			?>
				<table class="adminlist">
					<tr>
						<td class="ybbgeneraldesc">
							<?php echo JText::_( 'YBB_TOTAL_USERS' ).': '; ?>
						</td>
						<td align="center" class="ybbgeneraldesc">
							<strong><?php echo $this->ybbitems->totalusers; ?></strong>
						</td>
					</tr>
					<tr>
						<td class="ybbgeneraldesc">
							<?php echo JText::_( 'YBB_TOTAL_FORUMS' ).': '; ?>
						</td>
						<td align="center" class="ybbgeneraldesc">
							<strong><?php echo $this->ybbitems->totalforums; ?></strong>
						</td>
					</tr>
					<tr>
						<td class="ybbgeneraldesc">
							<?php echo JText::_( 'YBB_TOTAL_TOPICS' ).': '; ?>
						</td>
						<td align="center" class="ybbgeneraldesc">
							<strong><?php echo $this->ybbitems->totaltopics; ?></strong>
						</td>
					</tr>
					<tr>
						<td class="ybbgeneraldesc">
							<?php echo JText::_( 'YBB_TOTAL_POSTS' ).': '; ?>
						</td>
						<td align="center" class="ybbgeneraldesc">
							<strong><?php echo $this->ybbitems->totalposts; ?></strong>
						</td>
					</tr>
				</table>
			<?php
				echo $this->pane->endPanel();
				echo $this->pane->endPane();
			?>
		</td>
	</tr>
</table>
<?php echo YARBB_COPYRIGHT; ?>


